package com.zyong.design.pattern.bridge.case3;

/**
 * @program: zyong-design-pattern
 * @ClassName: AbstractFood
 * @author: zyong
 * @create: 2024-04-06 23:42
 */
public abstract class AbstractFood {
    protected Fruit fruit;

    public AbstractFood(Fruit fruit) {
        this.fruit = fruit;
    }

    /**
     * 添加
     */
    protected abstract void add();
}
